import { get } from '@/libs/request'

/**
 * 获取首页数据
 */
const getHomeData = () =>
  get<{
    dailyWords: {
      author: string
      content: string
    }
    userInfo: T_UserInfo
    mbtiResult: T_MBTIResult
    fortuneResult: T_FortuneResult
  }>('page/home')

export { getHomeData }
